package com.itrip.biz.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itrip.beans.pojo.AreaDic;
import com.itrip.biz.service.AreaDicService;
import com.itrip.dao.AreaDicMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 区域字典表 服务实现类
 * </p>
 *
 * @author 周勉
 * @since 2020-02-28
 */
@Service
public class AreaDicServiceImpl extends ServiceImpl<AreaDicMapper, AreaDic> implements AreaDicService {
    @Resource
    private AreaDicMapper areaDicMapper;
    @Override
    public List<AreaDic> getItripAreaDicListByMap(Map<String, Object> param) {
        return areaDicMapper.getItripAreaDicListByMap(param);
    }

    @Override
    public List<AreaDic> getHotelAreaByHotelId(Long id) {
        return areaDicMapper.getHotelAreaByHotelId(id);
    }
}
